package cn.itcast.erp.entity;

import cn.itcast.erp.entity.utils.Base;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.Date;

/**
 * 商品分类实体类
 * @author Administrator *
 */
@Component
public class Goodstype extends Base implements Serializable  {


    private Long uuid;//商品类型编号
    @NotBlank(message = "商品类型名称不能为空")
	private String name;//商品类型名称

    public Long getUuid() {
        return uuid;
    }

    public void setUuid(Long uuid) {
        this.uuid = uuid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
